package jiakuang;

public class learn4 {
    private int id;
    private String newsName;
    private String userName;
public void learn4(){

}
    public learn4(int id, String newsName, String userName) {
        this.id = id;
        this.newsName = newsName;
        this.userName = userName;
    }

    public learn4(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNewsName() {
        return newsName;
    }

    public void setNewsName(String newsName) {
        this.newsName = newsName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
